Piwik\Plugin\Report D

Total Complexity 139
Dependencies 19
Dependents 15
Total lines 982
Lines of code 398
Logical lines of code 233
Comment lines 361
Methods 52
Properties 22

Methods 52

Method Rating Maintainability Complexity Lines of code
getMetricsDocumentation()
A
48 16 34
buildReportMetadata()
A
43 13 46
getProcessedMetricsById()
A
59 9 12
getMetricSemanticTypes()
S
59 8 12
getMetricsRequiredForReport()
S
55 6 20
processedMetricDfs()
S
56 6 17
getDimensions()
S
55 5 19
deduceMetricTypeFromName()
S
57 5 16
getMetricsForTable()
S
59 5 14
getForDimension()
S
62 5 10
getMetricTranslations()
S
58 4 15
getNthLevelTableDimension()
S
59 4 14
getId()
S
63 3 10
configureReportMetadata()
S
66 3 9
configureWidgets()
S
73 3 5
render()
S
59 2 13
getSubtableApiMethod()
S
68 2 7
getDefaultSortOrder()
S
73 2 6
__construct()
S
64 2 9
getProcessedMetrics()
S
72 2 6
getAllMetrics()
S
74 2 4
checkIsEnabled()
S
73 2 5
supportsFlatten()
S
82 1 3
getRecursiveLabelSeparator()
S
82 1 3
getMetrics()
S
80 1 3
isSubtableReport()
S
82 1 3
fetch()
S
78 1 3
fetchSubtable()
S
71 1 5
alwaysUseDefaultViewDataTable()
S
81 1 3
configureView()
S
91 1 2
getSubtableDimension()
S
79 1 3
getDefaultTypeViewDataTable()
S
82 1 3
getProcessedMetricsForTable()
S
66 1 8
isEnabled()
S
81 1 3
getRowIdentifier()
S
82 1 3
getThirdLeveltableDimension()
S
79 1 3
getOrder()
S
82 1 3
getActionToLoadSubTables()
S
82 1 3
hasGoalMetrics()
S
82 1 3
getDimension()
S
82 1 3
getSubcategoryId()
S
82 1 3
getCategoryId()
S
82 1 3
getParameters()
S
82 1 3
getAction()
S
82 1 3
getModule()
S
82 1 3
getName()
S
82 1 3
init()
S
91 1 2
getSecondarySortColumnCallback()
S
82 1 3
getDefaultSortColumn()
S
82 1 3
getMetricNamesToProcessReportTotals()
S
82 1 3
getDocumentation()
S
82 1 3
getRelatedReports()
S
82 1 3